/*
 *@Author: 张楚
 *@Date: 2021-08-02 20:49:24
 *@Description: 网路课程模块
*/

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:totaldemo/pages/bri.dart';
import 'package:totaldemo/pages/evaluation/my_diss.dart';
import 'package:totaldemo/pages/text_expaned.dart';
import 'package:totaldemo/project/document/homePage.dart';
import 'package:totaldemo/project/get_device_info.dart';
import 'package:totaldemo/project/get_phone_number.dart';
import 'package:totaldemo/project/jpush_jverify.dart';
import 'package:totaldemo/project/listent_class/listen_class_record.dart';
import 'package:totaldemo/project/official_detail/document_list_home.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class ProjectPage extends StatefulWidget {
  const ProjectPage({Key key}) : super(key: key);

  @override
  _ProjectPageState createState() => _ProjectPageState();
}

class _ProjectPageState extends State<ProjectPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('项目上的demo'),
        ),
        body: ListView(children: [
          Wrap(
              // mainAxisAlignment: MainAxisAlignment.start,
              direction: Axis.horizontal,
              spacing: 10.w,
              runSpacing: 10.w,
              children: <Widget>[
                ElevatedButton(
                  onPressed: () {
                    Get.to(() => MyDissPage());
                  },
                  child: Text('我的评教'),
                ),
                ElevatedButton(
                  onPressed: () {
                    Get.to(() => BrithPage());
                  },
                  child: Text('生日祝福'),
                ),
                ElevatedButton(
                  onPressed: () {
                    Get.to(() => ProjectNoticeDetil());
                  },
                  child: Text('通知详情'),
                ),
                ElevatedButton(
                  onPressed: () {
                    Get.to(() => MyApp1());
                  },
                  child: Text('获取手机号码'),
                ),
                ElevatedButton(
                  onPressed: () {
                    Get.to(() => JpushJverify());
                  },
                  child: Text('极光推送'),
                ),
                ElevatedButton(
                  onPressed: () {
                    Get.to(() => GetDeviceInfo());
                  },
                  child: Text('获取设备信息'),
                ),
                ElevatedButton(
                  onPressed: () {
                    Get.to(() => DecumentHomePage());
                  },
                  child: Text('公文'),
                ),
                ElevatedButton(
                  onPressed: () {
                    Get.to(() => DocumentHomePage());
                  },
                  child: Text('档案'),
                ),
                ElevatedButton(
                  onPressed: () {
                    Get.to(() => ListenClassRecordpage());
                  },
                  child: Text('听课'),
                ),
              ])
        ]));
  }
}
